package com.zwy.ubts.bean;

import lombok.*;

/**
 * @Author Zhou Wenying
 * @Description:
 * @Date Created in 21:33 2023/3/7
 */
//lombok 实现
@Data //get set
//@AllArgsConstructor //构造器 全参构造
@NoArgsConstructor//无参构造
//@RequiredArgsConstructor //选择部分生成构造器
public class Book {
    private Integer bookId;
    private String bookName;
    private String bookAuthor;
    private String bookPublisher;
    private String bookImg;
    private Float bookMoney;
    private Float bookOldMoney;
    private String bookClassify;
    private String bookMark;
    private String bookCretime;
    private Integer userId;
    private Integer bookHot;
    private Integer bookCheck;
    private String bookWornLevel;


    private BookType bookType;
    private IndentStatus status;

    public Book(Integer bookId, String bookName, String bookAuthor, String bookPublisher,
                String bookImg, Float bookMoney, Float bookOldMoney, String bookClassify,
                String bookMark, String bookCretime, Integer userId, Integer bookHot,Integer bookCheck,String bookWornLevel) {
        this.bookId = bookId;
        this.bookName = bookName;
        this.bookAuthor = bookAuthor;
        this.bookPublisher = bookPublisher;
        this.bookImg = bookImg;
        this.bookMoney = bookMoney;
        this.bookOldMoney = bookOldMoney;
        this.bookClassify = bookClassify;
        this.bookMark = bookMark;
        this.bookCretime = bookCretime;
        this.userId = userId;
        this.bookHot = bookHot;
        this.bookCheck = bookCheck;
        this.bookWornLevel = bookWornLevel;
    }
}